<!DOCTYPE html>
<html>
<head>
    <title>CSS Test: window.innerWidth should return valid value, when CSS viewport descriptors applied.</title>
    <link rel="author" title="Mikhail Pozdnyakov" href="mailto:mikhail.pozdnyakov@intel.com" />
    <script type="text/javascript">
        if (window.testRunner) {
            testRunner.dumpAsText();
            testRunner.waitUntilDone();
            testRunner.setBackingScaleFactor(2, backingScaleFactorCallback);
        }

        function backingScaleFactorCallback() {
            window.location = "resources/viewport-width-check-inner-width.html";
        }
    </script>
</head>
</html>
